package com.songlanyun.modules.pointtobalace.dao;

import com.songlanyun.modules.pointtobalace.entity.PointToBalanceRecordEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.songlanyun.modules.pointtobalace.entity.PointToBalanceStatistics;
import org.apache.ibatis.annotations.Mapper;

import java.math.BigDecimal;
import java.util.Map;

/**
 * 积分兑换成余额
 *
 * @author lubo
 * @email sunlightcs@gmail.com
 * @date 2022-09-27 15:44:55
 */
@Mapper
public interface PointToBalanceRecordDao extends BaseMapper<PointToBalanceRecordEntity> {

    BigDecimal allHandlingFee();

    PointToBalanceStatistics statistics(Map<String, Object> params);
}
